import Vue from 'vue';
import Router from 'vue-router';

Vue.use(Router);

export default new Router({
    routes: [
        {
					path: '/',
					redirect: '/form'
        },
        {
					path: '/',
					component: () => import(/* webpackChunkName: "home" */ '@/components/common/Home.vue'),
					meta: { title: '实名认证预约' },
					children: [
							{
								path: '/form',
								component: () => import(/* webpackChunkName: "query" */ '@/components/page/Form.vue'),
								meta: { title: '实名认证预约' }
							},
              {
              	path: '/Thanks',
              	component: () => import(/* webpackChunkName: "query" */ '@/components/page/Thanks.vue'),
              	meta: { title: '感谢您的预约' }
              },
            ]
        },
    ]
});
